<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>{{$seo['title'] ?? ''}}</title>
    <link rel="stylesheet" type="text/css" href="{{asset('css/style.css')}}"/>
    <link rel="stylesheet" type="text/css" href="{{asset('css/charitable.css')}}"/>
    <meta content="{{$config['keywords'] ?? ''}}" name="Keywords">
    <meta name="description" content="{{$config['des'] ?? ''}}" />
    <title>{{$title}}</title>
    @yield('header')
</head>
<body>
<!--顶部-->
<div class=" logotop rela">
    <div class=" charitablenav abs" id="topMenu">
        <div class=" w-mid margincenter charinav">
            <span class="inblock cfff ft18 rela {{isset($cls_id) ? '' : 'chardefalut'}}" onclick="window.location.href='{{route('index')}}'"><em class="inblock zico indexico"></em><a href="{{route('index')}}">首页</a></span>
            <span class="inblock cfff rela ft18 {{isset($cls_id) && $cls_id == 26 ? 'chardefalut' : ''}}" onclick="window.location.href='{{route('news.cls_list' , ['cls_id' => 26])}}'"><a href="{{route('news.cls_list' , ['cls_id' => 26])}}">公示公告</a></span>
            <span class="inblock cfff rela ft18 {{$title == '慈善地图' ? 'chardefalut' : ''}}" onclick="window.location.href='{{route('maps')}}'"><a href="{{route('maps')}}">慈善地图</a></span>
            <span class="inblock cfff rela ft18">
	 					慈善项目
	 					<div class=" abs charinavchild">
	 						<a class="block ftc cfff ft18" href="{{route('project.list' , ['cls_id' => 35])}}">助老</a>
	 						<a class="block ftc cfff ft18" href="{{route('project.list' , ['cls_id' => 36])}}">助学</a>
	 						<a class="block ftc cfff ft18" href="{{route('project.list' , ['cls_id' => 37])}}">助医</a>
	 						{{--<a class="block ftc cfff ft18" href="{{route('project.list' , ['cls_id' => 38])}}">助残</a>--}}
	 						<a class="block ftc cfff ft18" href="{{route('project.list' , ['cls_id' => 39])}}">助困</a>
	 						{{--<a class="block ftc cfff ft18" href="{{route('project.list' , ['cls_id' => 40])}}">助灾</a>--}}
	 						<a class="block ftc cfff ft18" href="{{route('project.list' , ['cls_id' => 41])}}">法律援助</a>
	 						<a class="block ftc cfff ft18" href="{{route('project.list' , ['cls_id' => 42])}}">志愿者在行动</a>
	 					</div>
	 				</span>
            <span class="inblock cfff rela ft18 {{isset($cls_id) && $cls_id == 28 ? 'chardefalut' : ''}}" onclick="window.location.href='{{route('news.cls_list' , ['cls_id' => 45])}}'"><a href="{{route('news.cls_list' , ['cls_id' => 45])}}">慈善救助</a></span>
            <span class="inblock cfff rela ft18 {{isset($cls_id) && $cls_id == 43 ? 'chardefalut' : ''}}" onclick="window.location.href='{{route('news.cls_list' , ['cls_id' => 43])}}'"><a href="{{route('news.cls_list' , ['cls_id' => 43])}}">政策法规</a></span>
            <span class="inblock cfff rela ft18 {{isset($cls_id) && $cls_id == 44 ? 'chardefalut' : ''}}" onclick="window.location.href='{{route('news.cls_list' , ['cls_id' => 44])}}'"><a href="{{route('news.cls_list' , ['cls_id' => 44])}}">经验分享</a></span>
        </div>
    </div>
</div>
<div class="charimain rela">
    <div class=" abs charicontentzjs">
        @yield('content')
        <!--底部-->
            <div class="overflow charitfooter">
                <div class="overflow w1000 margincenter">
                    <div class="overflow footnav ftc margincenter">
                        <a href="{{route('index')}}" class="inblock cfff ft16 ftc">首页</a>
                        <a href="{{route('news.cls_list' , ['cls_id' => 26])}}" class="inblock cfff ft16 ftc">公示公告</a>
                        <a href="{{route('maps')}}" class="inblock cfff ft16 ftc">慈善地图</a>
                        <a href="{{route('project.list' , ['cls_id' => 29])}}" class="inblock cfff ft16 ftc">慈善项目</a>
                        <a href="{{route('news.cls_list' , ['cls_id' => 45])}}" class="inblock cfff ft16 ftc">慈善救助</a>
                        <a href="{{route('news.cls_list' , ['cls_id' => 43])}}" class="inblock cfff ft16 ftc">政策法规</a>
                        <a href="{{route('news.cls_list' , ['cls_id' => 44])}}" class="inblock cfff ft16 ftc">经验分享</a>
                    </div>
                    <div class="overflow ftc cfff mt30">
                        <p class="mb15">备案号：{{$config['ba1']}}</p>
                        <p>{{$config['websitename']}}	|   运营单位：{{$config['operate']}}</p>
                    </div>
                    <div class="overflow ftc mt30"><img src="{{asset('/images/footlogo_03.png')}}"/></div>
                </div>
            </div>
            <!--底部  end-->
    </div>
</div>
<script src="{{asset('js/jquery-3.1.1.min.js')}}" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="{{asset('js/scrollbanner.js')}}"></script>
@yield('scripts')
</body>
</html>